// 订单管理
import request from '@/utils/request';
//首页报表接口
export const totaldata = () => {
  return request({
    url: 'order/totaldata',
    method: 'get',
  })
}
//order/list
//获取订单列表
export const orderList = (params) => {
  return request({
    url: 'order/list',
    method: 'get',
    params
  })
}
//订单查看
export const orderderail = (params) => {
  return request({
    url: 'order/detail',
    method: 'get',
    params
  })
}
//订单编辑
export const orderEdit = (data) => {
  return request({
    url: 'order/edit',
    method: 'post',
    data
  })
}